//
//  CounterTabBarVC.m
//  GoodsCountingCounter
//
//  Created by 李东 on 2024/8/1.
//

#import "CounterTabBarVC.h"
#import "CounterOneViewController.h"
#import "CounterTowViewController.h"
#import "CounterThreeViewController.h"
#import "CounterLogsViewController.h"
#import "CounterAboutViewController.h"
#import "UDSaveCountData.h"
#import "HJGPrivacy.h"
#import "BICCg.h"
#import "HJGPrivacyEdit.h"
@interface CounterTabBarVC ()

@end

@implementation CounterTabBarVC

- (void)viewDidLoad {
    [super viewDidLoad];
    UIViewController *vc1 = [[CounterOneViewController alloc] init];
    vc1.tabBarItem.title = @"Single";
    vc1.tabBarItem.image = [UIImage imageNamed:@"one"];
    UINavigationController *nav1 = [[UINavigationController alloc] initWithRootViewController:vc1];
    
    UIViewController *vc2 = [[CounterTowViewController alloc] init];
    vc2.tabBarItem.title = @"Tow";
    vc2.tabBarItem.image = [UIImage imageNamed:@"tow"];
    UINavigationController *nav2 = [[UINavigationController alloc] initWithRootViewController:vc2];

    UIViewController *vc3 = [[CounterThreeViewController alloc] init];
    vc3.tabBarItem.title = @"Dozen";
    vc3.tabBarItem.image = [UIImage imageNamed:@"more"];
    UINavigationController *nav3 = [[UINavigationController alloc] initWithRootViewController:vc3];
    
    
    UIViewController *vc4 = [[CounterLogsViewController alloc] init];
    vc4.tabBarItem.title = @"Logs";
    vc4.tabBarItem.image = [UIImage imageNamed:@"logs"];
    UINavigationController *nav4 = [[UINavigationController alloc] initWithRootViewController:vc4];
    
    UIViewController *vc5 = [[CounterAboutViewController alloc] init];
    vc5.tabBarItem.title = @"About";
    vc5.tabBarItem.image = [UIImage imageNamed:@"l-about"];
    UINavigationController *nav5 = [[UINavigationController alloc] initWithRootViewController:vc5];
    self.viewControllers = @[nav1,nav2,nav3,nav4,nav5];
}


@end
